package com.ciko.code.http.Req;


import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;
import com.mywork.WorkUIKit;

/**
 * Created by ciko on 2015/12/5.
 */
public class GetHotActivitiesListReq extends BaseRequest {

    public GetHotActivitiesListReq(long currentPublishTime, Integer length) {
        init();

        put("currentPublishTime", currentPublishTime);
        put("length" , length);
        put("userId" , WorkUIKit.getUser().getId());
        putCid(currentPublishTime + "" + length+WorkUIKit.getUser().getId()+"");

    }

    @Override
    public String getUrl() {
        return Api.getHotActivitiesList;
    }

    @Override
    public Class<?> getResponseClazz() {
        return GetHotActivitiesListRes.class;
    }
}
